<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var div = document.createElement('div');
			var p = document.createElement('p');
			document.body.appendChild(div);
			p.innerHTML = '我是段落标签';
			var text = document.createTextNode('JavaScript');
			var comment = document.createComment('我是注释君');
			div.appendChild(p);
			div.appendChild(text);
			div.appendChild(comment);
		</script>
	</body>
</html>
